import TeachSpace from './teachspace.vue'
import teachSpaceAdd from './teachspaceAdd.vue'
import teachSpaceSearch from './teachspaceSearch.vue'
import teachSpaceView from './teachspaceView.vue'
import teachSpaceUpdate from './teachspaceUpdate.vue'

const components = [
    TeachSpace,
    teachSpaceAdd,
    teachSpaceSearch,
    teachSpaceView,
    teachSpaceUpdate
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}
export default main
